package com.jiantong.user.service;

import com.jiantong.user.dto.RetailBreedFactoryDto;
import io.terminus.common.model.Response;

import java.util.Map;

/**
 * Created by mz on 10/7/17.
 *
 */
public interface RetailBreedFactoryWriteService {

    /**
     * 创建散户
     * @param retailBreedFactoryDto 养殖场的dto
     * @return Map<String , Object>
     */
    Response<Map<String , Object>> createRetailBreedFactory(RetailBreedFactoryDto retailBreedFactoryDto);

    /**
     * 跟新散户
     * @param retailBreedFactoryDto 养殖场的dto
     * @return Map<String , Object>
     */
    Response<Map<String , Object>> updateRetailBreedFactory(RetailBreedFactoryDto retailBreedFactoryDto);
}
